package kr.or.kead.domain;

public class Depart {
	private int code;
	private String name;
	private int prot;
	private String tel;
	public Depart(int code, String name, int prot, String tel) {
		this.code = code;
		this.name = name;
		this.prot = prot;
		this.tel = tel;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getProt() {
		return prot;
	}
	public void setProt(int prot) {
		this.prot = prot;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	@Override
	public String toString() {
		return String.format("Depart [code=%s, name=%s, prot=%s, tel=%s]",
				code, name, prot, tel);
	}
	
}
